using System;
using System.Collections.Generic;
using System.Text;

namespace RideMe.Core
{
    public class Pair<TFirst,TSecond>
    {
        public Pair(TFirst first, TSecond second)
        {
            this._first = first;
            this._second = second;
        }

        public Pair()
        {
        }

        private TFirst _first;

        /// <summary>
        /// Gets or sets the first object value.
        /// </summary>
        public TFirst First
        {
            get { return _first; }
            set { _first = value; }
        }

        private TSecond _second;

        /// <summary>
        /// Gets or sets the second object value.
        /// </summary>
        public TSecond Second
        {
            get { return _second; }
            set { _second = value; }
        }

        public override string ToString()
        {
            return _first.ToString();
        }
       
    }
}
